﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection.Emit;

namespace Fabs.Net.GIL
{
    public class Local
    {
        public string Name { get; set; }
        public Type Type { get; set; }
        public LocalBuilder Output { get; private set; }

        public void Compile(ILGenerator Parent)
        {
            Output = Parent.DeclareLocal(Type);
        }
    }
}